import javax.swing.table.DefaultTableModel;
import common.AccountInterface;
-import common.OwnerInterface;
+import common.AdminInterface;
import configuration.___IntNames;
import domain.Owner;
private JTable table;
private DefaultTableModel tableModel;
- private OwnerInterface Own = null;
+ private AdminInterface AdM = null;
private Vector<Owner> owners = new Vector<Owner>();
/**
setContentPane(contentPane);
contentPane.setLayout(null);
try {
- Own = (OwnerInterface) Naming
- .lookup(___IntNames.OwnerManager);
+ AdM = (AdminInterface) Naming
+ .lookup(___IntNames.AdminManager);
} catch (Exception e1) {
System.out
.println("Error accessing remote authentication: "
+ e1.toString());
}
- this.owners = Own.getOwners();
+ this.owners = AdM.getAllOwners();
JLabel lblNewLabel = new JLabel();
lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 27));
lblNewLabel.setBounds(23, 41, 536, 33);